home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 January: Mac OS SDK / Dev.CD Jan 96 SDK / Dev.CD Jan 96 SDK1.toast / Development Kits (Disc 1) / AOCE / Development Tools / Sample Code / Messaging Service Access Module / Internet PMSAM / Template source / Internet Setup Template / InternetMailService.code.r < prev    next >
Encoding:
Text File  |  1993-02-25  |  1.7 KB  |  131 lines  |  [TEXT/MPS ]

  1. #define SystemSevenOrLater 1
  2.  
  3. #include "Types.r"
  4.  
  5. resource 'DLOG' (128) {
  6.     {40, 40, 147, 330},
  7.     dBoxProc,
  8.     visible,
  9.     noGoAway,
  10.     0x0,
  11.     128,
  12.     "",
  13.     centerParentWindow
  14. };
  15.  
  16. resource 'DLOG' (129) {
  17.     {40, 40, 112, 324},
  18.     dBoxProc,
  19.     visible,
  20.     goAway,
  21.     0x0,
  22.     129,
  23.     "",
  24.     centerParentWindow
  25. };
  26.  
  27. resource 'DITL' (128) {
  28.     {    /* array DITLarray: 6 elements */
  29.         /* [1] */
  30.         {77, 221, 97, 279},
  31.         Button {
  32.             enabled,
  33.             "OK"
  34.         },
  35.         /* [2] */
  36.         {77, 153, 97, 211},
  37.         Button {
  38.             enabled,
  39.             "Cancel"
  40.         },
  41.         /* [3] */
  42.         {17, 123, 33, 277},
  43.         EditText {
  44.             enabled,
  45.             ""
  46.         },
  47.         /* [4] */
  48.         {46, 123, 62, 277},
  49.         EditText {
  50.             enabled,
  51.             ""
  52.         },
  53.         /* [5] */
  54.         {17, 15, 33, 114},
  55.         StaticText {
  56.             disabled,
  57.             "Old Password:"
  58.         },
  59.         /* [6] */
  60.         {46, 15, 62, 119},
  61.         StaticText {
  62.             disabled,
  63.             "New Password:"
  64.         }
  65.     }
  66. };
  67.  
  68. resource 'DITL' (130) {
  69.     {    /* array DITLarray: 2 elements */
  70.         /* [1] */
  71.         {67, 246, 87, 304},
  72.         Button {
  73.             enabled,
  74.             "OK"
  75.         },
  76.         /* [2] */
  77.         {9, 70, 60, 306},
  78.         StaticText {
  79.             disabled,
  80.             "The current password you entered was inc"
  81.             "orrect.  Your password will remain uncha"
  82.             "nged."
  83.         }
  84.     }
  85. };
  86.  
  87. resource 'DITL' (129) {
  88.     {    /* array DITLarray: 4 elements */
  89.         /* [1] */
  90.         {44, 216, 64, 274},
  91.         Button {
  92.             enabled,
  93.             "OK"
  94.         },
  95.         /* [2] */
  96.         {44, 148, 64, 206},
  97.         Button {
  98.             enabled,
  99.             "Cancel"
  100.         },
  101.         /* [3] */
  102.         {13, 118, 29, 272},
  103.         EditText {
  104.             enabled,
  105.             ""
  106.         },
  107.         /* [4] */
  108.         {13, 10, 29, 114},
  109.         StaticText {
  110.             disabled,
  111.             "New Password:"
  112.         }
  113.     }
  114. };
  115.  
  116. resource 'ALRT' (130) {
  117.     {47, 43, 142, 358},
  118.     130,
  119.     {    /* array: 4 elements */
  120.         /* [1] */
  121.         OK, visible, sound1,
  122.         /* [2] */
  123.         OK, visible, sound1,
  124.         /* [3] */
  125.         OK, visible, sound1,
  126.         /* [4] */
  127.         OK, visible, sound1
  128.     },
  129.     alertPositionParentWindow
  130. };
  131.